package com.lx.pc.domain.entity.wcategory;

import org.springframework.data.mybatis.annotations.Column;
import org.springframework.data.mybatis.annotations.Entity;

import com.lx.pc.domain.entity.AbstractBaseEntity;

/**
 * 用户公众号下单
 * @author houzhong
 */
@Entity(table = "w_category")
public class WCategoryEntity extends AbstractBaseEntity{

	private static final long serialVersionUID = 1L;

	/**
	 * 类别图片
	 */
	@Column(name = "img")
	private String img;
	
	/**
	 * 分类Code
	 */
	@Column(name = "category_id")
	private String categoryId;
	
	/**
	 * 父类ID
	 */
	@Column(name = "parent_id")
	private String parentId;
	
	/**
	 * 类别名称
	 */
	@Column(name = "name")
	private String name;
	
	/**
	 * 类型   0：目录   1：菜单 
	 */
	@Column(name = "type")
	private Integer type;
	
	/**
	 * 价格
	 */
	@Column(name = "price")
	private Float price;
	
	/**
	 * 价格区间
	 */
	@Column(name = "price_range")
	private Float priceRange;
	
	/**
	 * 排序
	 */
	@Column(name = "order_num")
	private Integer orderNum;
	
	/**
	 * 显示,1:显示,0:隐藏
	 */
	@Column(name = "status")
	private Integer status;
	
	/**
	 * 链接
	 */
	@Column(name = "url")
	private String url;
	
	/**
	 * 备注
	 */
	@Column(name = "remark")
	private String remark;

	public String getImg() {
		return img;
	}

	public void setImg(String img) {
		this.img = img;
	}

	public String getCategoryId() {
		return categoryId;
	}

	public void setCategoryId(String categoryId) {
		this.categoryId = categoryId;
	}

	public String getParentId() {
		return parentId;
	}

	public void setParentId(String parentId) {
		this.parentId = parentId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public Float getPrice() {
		return price;
	}

	public void setPrice(Float price) {
		this.price = price;
	}

	public Float getPriceRange() {
		return priceRange;
	}

	public void setPriceRange(Float priceRange) {
		this.priceRange = priceRange;
	}

	public Integer getOrderNum() {
		return orderNum;
	}

	public void setOrderNum(Integer orderNum) {
		this.orderNum = orderNum;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

}
